Skip to content

fix(simulation): revert wind sign regression from #27376#27392

Merged
sfuhrer merged 1 commit into
PX4:mainfrom
0xDI:fix/sih-revert-wind-sign-regression
May 28, 2026
Merged

fix(simulation): revert wind sign regression from #27376#27392
sfuhrer merged 1 commit into
PX4:mainfrom
0xDI:fix/sih-revert-wind-sign-regression

Conversation

@0xDI

@0xDI 0xDI commented May 19, 2026

Copy link
Copy Markdown
Contributor

Fixes regression introduced in #27376.

The sign change in _v_apparent_N was wrong. SIH_WIND_N/E use a "from"
direction convention, so the original + was correct — #27376 mistakenly
flipped it to minus, which contradicts the param description and reverses
wind effects for any non-zero wind setting.

Reverts the sign while keeping the pitot body-x fix from #27376.

Closes regression flagged by @mbjd

@github-actions github-actions Bot added kind:bug Something is broken or behaving incorrectly. scope:simulation SITL, Gazebo, jmavsim, lockstep, or simulated sensors. labels May 19, 2026
@mbjd
mbjd self-requested a review May 19, 2026 08:48

@mbjd mbjd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sfuhrer
sfuhrer merged commit 66058d4 into PX4:main May 28, 2026
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug Something is broken or behaving incorrectly. scope:simulation SITL, Gazebo, jmavsim, lockstep, or simulated sensors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants